-- GENERATED SPELL FOR [Thelsamar Mountaineer] --


function spell0_8055(pUnit, Event) --@Shoot,n/a--
pUnit:FullCastSpellOnTarget(6660,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_8055', 528, 1)
end

function Sorts_8055(pUnit, Event)
local choix_sorts_8055 = math.random(0, 0)
if choix_sorts_8055 == 0 then
pUnit:RegisterEvent('spell0_8055', 1, 1)
end
end

function mob8055_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_8055', math.random(1500, 3000), 1)
end

function mob8055_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob8055_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob8055_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(8055, 1, 'mob8055_Action')
RegisterUnitEvent(8055, 2, 'mob8055_Leave')
RegisterUnitEvent(8055, 3, 'mob8055_Kill')
RegisterUnitEvent(8055, 4, 'mob8055_Die')
